package com.example.chapter12.design.factory.demo2;

import com.example.chapter12.design.factory.demo1.Fruit;
import com.example.chapter12.design.factory.demo1.Pear;

public class PearFactory {
    public Fruit create() {
        return new Pear();
    }
}
